package com.neuedu.ChinaCityDataApi.controller;

import com.neuedu.ChinaCityDataApi.pojo.Income_Expenses_Ral;
import com.neuedu.ChinaCityDataApi.service.Income_Expenses_RalService;
import com.neuedu.ChinaCityDataApi.util.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class Income_Expenses_RalController {
    @Autowired
    private Income_Expenses_RalService income_expenses_ralService;
    @GetMapping("/queryAllincome_Expenses_Ral")
    public ResponseResult<List<Income_Expenses_Ral>> queryAllincome_Expenses_Ral(){
        List<Income_Expenses_Ral> income_expenses_rals = income_expenses_ralService.queryAllincome_Expenses_Ral();
        return new ResponseResult<>("200","查询成功",income_expenses_rals);
    }
}
